﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://sso.esf.com" elementFormDefault="qualified" targetNamespace="http://sso.esf.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/ESF.General.Entity" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities.BasicReferences" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities.Log" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:element name="SignInByIdentificationCredentials">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q1:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SignInByIdentificationCredentialsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="SignInByIdentificationCredentialsResult" nillable="true" type="q2:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SignInByCredentials">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q3:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SignInByCredentialsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="SignInByCredentialsResult" nillable="true" type="q4:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserMenu">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q5:User" />
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="pApplication" nillable="true" type="q6:BasicReference" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserMenuResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="GetUserMenuResult" nillable="true" type="q7:ArrayOfUserMenuItem" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserRights">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q8:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserRightsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities.BasicReferences" minOccurs="0" name="GetUserRightsResult" nillable="true" type="q9:ArrayOfBasicReferenceValue" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserRightValue">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q10:User" />
        <xs:element minOccurs="0" name="pRightCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserRightValueResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities.BasicReferences" minOccurs="0" name="GetUserRightValueResult" nillable="true" type="q11:BasicReferenceValue" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetUserRightValue">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q12:User" />
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities.BasicReferences" minOccurs="0" name="pRight" nillable="true" type="q13:BasicReferenceValue" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetUserRightValueResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CloseSession">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities.Log" minOccurs="0" name="pUserSessionLog" nillable="true" type="q14:UserSessionLog" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CloseSessionResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CloseSessionByCredentials">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q15:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CloseSessionByCredentialsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CloseSessionByIdentificationCredentials">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q16:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CloseSessionByIdentificationCredentialsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="SignUp">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q17:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SignUpResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserFromSessionID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="pSessionID" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserFromSessionIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="GetUserFromSessionIDResult" nillable="true" type="q18:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListBasicReference">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="pBasicReferenceType" nillable="true" type="q19:BasicReferenceType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListBasicReferenceResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="ListBasicReferenceResult" nillable="true" type="q20:ArrayOfBasicReference" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserApplicationList">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q21:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserApplicationListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="GetUserApplicationListResult" nillable="true" type="q22:ArrayOfUserMenuItem" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBasicReferenceByCode">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="pBasicReferenceCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBasicReferenceByCodeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="GetBasicReferenceByCodeResult" nillable="true" type="q23:BasicReference" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBasicReferenceByID">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="pBasicReferenceID" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBasicReferenceByIDResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="GetBasicReferenceByIDResult" nillable="true" type="q24:BasicReference" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserMenuImages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="pUser" nillable="true" type="q25:User" />
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="pApplication" nillable="true" type="q26:BasicReference" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUserMenuImagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/ESF.General.Entity" minOccurs="0" name="GetUserMenuImagesResult" nillable="true" type="q27:ArrayOfFileReference" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBasicDataFromAlias">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="pAlias" nillable="true" type="q28:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBasicDataFromAliasResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/ESF.SSO.Core.Entities" minOccurs="0" name="GetBasicDataFromAliasResult" nillable="true" type="q29:ArrayOfUser" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>